package com.artisan.o2o.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.artisan.o2o.entity.ProductCategory;

public interface ProductCategoryDao {
    /**
     * @param shopId
     * @Title: selectProductCategoryList
     * @Description: 根据shopId查询对应的商品目录
     * @return: List<ProductCategory>
     */
    List<ProductCategory> selectProductCategoryList(long shopId);

    /**
     * @param productCategoryList
     * @Title: batchInsertProductCategory
     * @Description: 批量增加roductCategory
     * @return: int
     */
    int batchInsertProductCategory(List<ProductCategory> productCategoryList);


    /**
     * @param productCategoryId
     * @param shopId
     * @Title: deleteProductCategory
     * @Description: 删除特定shop下的productCategory
     * @return: int
     */
    int deleteProductCategory(@Param("productCategoryId") Long productCategoryId, @Param("shopId") Long shopId);
}
